build library from debian/rules
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Thu, 21 Jan 2016 16:33:59 +0000 (17:33 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Thu, 21 Jan 2016 16:33:59 +0000 (17:33 +0100)
debian/rules

index 2a81fcd35ad1eae22b04b1df557fc92751c9867d..f62abb9154a5e3f801d09952aab1ae0667f2a267 100755 (executable)
@@ -4,25 +4,24 @@
 # Description: Main Debian packaging script for JUCE
 
 BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y")
-export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"'
+#export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"'
+
+DEB_SRCDIR=debian/libbuilder/
 
 include /usr/share/cdbs/1/rules/buildcore.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/makefile.mk
+## disabled licenscheck for now
+#include /usr/share/cdbs/1/rules/utils.mk
+
+CPPFLAGS+=-DBUILD_DATE='\"$(BUILD_DATE)\"'
 
 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
 ^((.*\.jpg)|(.*\.png)|(.*\.ico)|(.*\.icns)|(.*\.nib)|examples/PlugInSamples/MultiOutSynth/Source/BinaryData/singing\.ogg|examples/Demo/Resources/cello\.wav|examples/Demo/Resources/icons\.zip|modules/juce_audio_plugin_client/RTAS/juce_RTAS_WinResources\.rsr|examples/ComponentTutorialExample/Introduction to Components - Part 1\.pdf|debian/(changelog|copyright(|_hints|_newhints)))$
 
-#pkg = $(DEB_SOURCE_PACKAGE)
-#pkgdoc = frei0r-plugins-doc
-
 build/libjuce-doc::
        cd doxygen && doxygen Doxyfile
 
-build/libjuce0::
-       make -C debian/libbuilder
-
 clean::
        rm -rf doxygen/doc
-       make -C debian/libbuilder clean